package com.qumitech.visualnovel.datasource.app;

import com.qumitech.visualnovel.pubdef.dto.user.UserNobleRecordDTO;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.HashMap;

public interface NobleMapper {

    List<UserNobleRecordDTO> listNoble(@Param("uid") Long uid,
                                    @Param("level") Long level,
                                    @Param("startTime") String startTime,
                                    @Param("endTime") String endTime,
                                    @Param("orderBy") String orderBy,
                                    @Param("orderType") String orderType,
                                    @Param("offset") int offset,
                                    @Param("limit") int limit);

    int countNoble(@Param("uid") Long uid,
                   @Param("level") Long level,
                   @Param("startTime") String startTime,
                   @Param("endTime") String endTime);

    List<HashMap<Integer, String>> getNobleConfig();

}